home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / libsrc / stdio / puts.c < prev    next >
C/C++ Source or Header  |  1999-01-01  |  244b  |  10 lines

  1. #include <stdio.h>
  2.  
  3. int puts(const char *s)
  4. /*  s.o. was muss hier zurueckgegeben werden?   */
  5. {
  6.     if(fputs(s,stdout)==EOF) return(EOF);
  7.     if(__putc('\n',stdout)==EOF) return(EOF);
  8.     if(fflush(stdout)==EOF) return(EOF); else return(1);
  9. }
  10.